const pxToViewport = require("postcss-px-to-viewport");
const vw = pxToViewport({
  // 视口宽度 750
  viewportWidth: 750,
});

module.exports = {
  // 这里补充style配置
  style: {
    postcss: {
      mode: "extends",
      loaderOptions: {
        postcssOptions: {
          ident: "postcss",
          plugins: [vw],
        },
      },
    },
  },
};
